﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Controls/NewsPage.master" AutoEventWireup="true" CodeFile="News.List.aspx.cs" Inherits="Pages_News_List" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="cot_trai">
        <div class="title2">
            <p><asp:HyperLink ID="hplCate" NavigateUrl="#" runat="server">Tin tức</asp:HyperLink></p>
        </div>
        <asp:Repeater ID="rptList" runat="server">
            <ItemTemplate>
                <%#GetHtml(Eval("Title").ToString(), Eval("Lead").ToString(), Eval("Url").ToString(), Eval("ImageUrl").ToString(), Convert.ToDateTime(Eval("PublishedTime")))%>
            </ItemTemplate>
        </asp:Repeater>
        <asp:Panel ID="panelOtherNews" Visible="true" runat="server">
            <div class="title3">Other News</div>
            <asp:Repeater ID="rptOtherList" runat="server">
                <ItemTemplate>
                    <div class="dong2">
                        <a href="<%#Eval("Url") %>"><%#Eval("Title")%> (<%#Eval("PublishedTime", "{0:dd/MM/yyyy}")%>)</a></a></div>
                </ItemTemplate>
            </asp:Repeater>
            <div class="dong2" style="text-align:right;">
                <asp:HyperLink ID="hplNext" runat="server">next</asp:HyperLink></div>
        </asp:Panel>
        <div class="clear">
        </div>
    </div>
</asp:Content>

